/*
 * Copyright 2007 Xplayat, S.L. All rights reserved.
 * Propiedad de Xplayat. 
 */
package es.xpt.ysf.view.menu.model;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "menu")
public class MenuBean { 

	@XmlAttribute(required = true)
	private String module;
	
	@XmlElement(name="option")
	private List<OptionBean> optionsList;

	public MenuBean() {
	}

	public void setModule(String module) {
		this.module = module;
	}

	public String getModule() {
		return module;
	}

	public void setOptionsList(List<OptionBean> optionsList) {
		this.optionsList = optionsList;
	}

	public List<OptionBean> getOptionsList() {
		return optionsList;
	}
}
